﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Huinn.AirQuality;
using System.Web.Script.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Huinn.Data;

namespace Huinn.Weather.Test
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Huinn.AirQuality.AirQualityIndex pm25 = new AirQualityIndex();
            bool isOutOfService = true;
            string allCitiesAirQualityData = pm25.GetAllCitiesAirQualityData(out isOutOfService);
            if (!isOutOfService)
            {
                pm25.AllCitiesAirQualityDataStorage(allCitiesAirQualityData);
            }
        }
    }
}